home *** CD-ROM | disk | FTP | other *** search
Korn shell script | 1995-06-20 | 445 b | 16 lines |
- #!/bin/ksh
- # Give root the keys to the DISPLAY
- xauth list | sed "s/.*:[^ ]*/add $DISPLAY/" | xauth -f /.Xauthority
-
- # if the DISPLAY does not contain a host name,
- # also give the keys to the tcp/ip domain DISPLAY name.
- host=${DISPLAY%%:*}
- if [$host == ""]
- then
- xauth list | sed "s/.*:[^ ]*/add $(hostname)$DISPLAY/" | xauth -f /.Xauthority
- fi
-
- #start clients
- xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail
- xwalld
-